package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.PartnerFinanceRelationAccountVO;
import com.yunxi.sto.pojo.PartnerFinanceRelationInfoVO;
import com.yunxi.sto.pojo.PartnerFinanceRelationVO;
import java.util.List;

/**
 * <p>
 * 渠道商融资机构关系 服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-09-17
 */
public interface PartnerFinanceRelationDubboService {

    PartnerFinanceRelationVO getById(String id) throws Exception;

    void saveOrUpdate(PartnerFinanceRelationVO partnerFinanceRelationVO) throws Exception;

    void removeById(String id);

    PageInfo<PartnerFinanceRelationVO> findPageByVO(PartnerFinanceRelationVO partnerFinanceRelationVO,Integer pageNum, Integer pageSize) throws Exception;

    List<PartnerFinanceRelationVO> export(PartnerFinanceRelationVO partnerFinanceRelationVO) throws Exception;

    void removeByListVo(List<PartnerFinanceRelationVO> partnerFinanceRelationVOList) throws Exception;

    List listByVo(PartnerFinanceRelationVO partnerFinanceRelationVO);

    void delAndReset(List<String> list,Integer isOnUse) throws Exception;

    void importSave(List<PartnerFinanceRelationVO> list)throws Exception;

    List<PartnerFinanceRelationInfoVO> listByPartnerCode(String partnerCode)throws Exception;

    List<PartnerFinanceRelationInfoVO> listByVin(String vin)throws Exception;

    List<PartnerFinanceRelationAccountVO> accountType();
}
